package com.amumu.drama.common.modules.fulu.dto;

import fulu.sup.open.api.model.CommonRequest;

/**
 * @Auther: DM
 * @Date: 2024/5/10 17:23
 * @Description:
 */
public class ProductStockQueryDto extends CommonRequest {
    public ProductStockQueryDto() {
        this.setMethod("fulu.goods.stock.check");
    }

    public String getProductId() {
        Object value = this.getBizContentValue("product_id");
        return value != null ? String.valueOf(value) : null;
    }

    public void setProductId(String productId) {
        this.setBizContent("product_id", productId);
    }


    public Integer getBuyNum() {
        Object value = this.getBizContentValue("buy_num");
        return value != null ? Integer.valueOf(value.toString()) : null;
    }

    public void setBuyNum(Integer buyNum) {
        this.setBizContent("buy_num", buyNum);
    }
}
